#ifndef MYBTN_H
#define MYBTN_H

#include <QWidget>

class Mybtn : public QWidget
{
    Q_OBJECT
public:
    explicit Mybtn(QWidget *parent = nullptr);

    QPixmap pic;

protected:
    void mousePressEvent(QMouseEvent *event) override;
    void paintEvent(QPaintEvent *event) override;
signals:
    void clicked();
};

#endif // MYBTN_H
